#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

char* solve(char* str) {
    char* arr;
    arr = (int*)malloc(strlen(str) * sizeof(char));

    for (int i = 0; i < strlen(str); i++)
    {
        arr[strlen(str) - 1 - i] = str[i];
    }
    return arr;
}

int main()
{
    return 0;
}